Xbasic

FILE.TEMP_PATH_GET Function

Syntax

Temp_Dir as C = FILE.Temp_Path_Get()

Returns

Temp_dirCharacter

The path to the temporary directory.

Description

Returns the windows temporary file path.

Discussion

The FILE.TEMP_PATH_GET() method returns the path to the temporary directory.

Example

? FILE.temp_path_get()
= "C:\DOCUME~1\ELARRA~1\LOCALS~1\Temp\"
? FILE.shortname_to_longname(file.temp_path_get())
= "C:\Documents and Settings\BBlatz\Local Settings\Temp\"

See Also